{section name=id loop=$pages}
<option label="{$pages[id].page_title}" value="{$pages[id].page_id}" {if $pages[id].page_id == $selected}selected="selected"{/if}>{$pages[id].page_indent}{$pages[id].page_title}</option>
{/section}